package com.seelyn.rhea.mvc.render.provider;

import com.seelyn.rhea.mvc.render.AbstractView;
import com.seelyn.rhea.mvc.render.Render;

import java.io.Serializable;


/**
 * @author linfeng
 * @since 2016/1/20
 */
public class JspView extends AbstractView<JspView> {
    private static final long serialVersionUID = 947198124984888866L;

    private final String path;

    public JspView(String path) {
        super(HTML_CONTENT_TYPE);
        this.path = path;
    }

    public String getPath() {
        return path;
    }


    @Override
    public Render<JspView> getRender() {
        return new JspRender();
    }
}
